﻿# 更新生命文档
Copy-Item 'C:\Users\sun\Documents\Yu Writer Libraries\life\*.md' -Destination H:\work\Baiyi_docs
Copy-Item 'C:\Users\sun\Documents\Yu Writer Libraries\life\work\*.md' -Destination H:\work\Baiyi_docs\work
Copy-Item 'C:\Users\sun\Documents\Yu Writer Libraries\life\diary\*.md' -Destination H:\work\Baiyi_docs\diary
cd H:\work\Baiyi_docs\ 
git add .
git commit -m 'everyday update'
git push
echo "life finish"
# 更新技术文档
Copy-Item 'C:\Users\sun\Documents\Yu Writer Libraries\life\technology\*.md' -Destination H:\work\fang_docs
Copy-Item 'C:\Users\sun\Documents\Yu Writer Libraries\life\EnglishStudy\*.md' -Destination H:\work\fang_docs\EnglishStudy
Copy-Item 'C:\Users\sun\Documents\Yu Writer Libraries\life\CultureStudy\*.md' -Destination H:\work\fang_docs\CultureStudy
cd H:\work\fang_docs\ 
git add .
git commit -m 'everyday update'
git push
echo "docs finish"
Copy-Item 'H:\work\fang_docs\Libs\bak.ps1' -Destination C:\Users\sun\Desktop\bak.ps1
echo "all finish"